package ooday03;

/**
 * @author Administrator
 */
public class Dog extends Animals implements Swim {
    Dog(String name,int age,String color){
        super(name,age,color);
    }

    @Override
    void eat() {
        System.out.println(name+"喜欢吃骨头");
    }
    void lookHome(){
        System.out.println(name+"会看家");
    }
    @Override
    public void swim() {
        System.out.println(name+"会狗刨式游泳");
    }


}
